home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / getmatches < prev    next >
Text File  |  2001-03-21  |  758b  |  23 lines

  1. Synopsis:
  2.    $getmatches(<array> <pattern>)
  3.    $getrmatches(<array> <string>)
  4.  
  5. Technical:
  6.    This functions operate in a manner similar to $matchitem() and
  7.    $rmatchitem(), except that they return a list of all items that match
  8.    the input pattern or string, not just the best match.  Item numbers
  9.    are returned, not the actual array contents.
  10.  
  11. Practical:
  12.    The $getmatches() function is used to retrieve all items in the given
  13.    array that match the given pattern.  Similarly, $getrmatches() is used
  14.    to retrieve all items that match the given string.
  15.  
  16. Returns:
  17.    list of item numbers corresponding to matches
  18.  
  19. See Also:
  20.    Arrays(7); matchitem(6); rmatchitem(6); igetmatches(6);
  21.    igetrmatches(6); gettmatch(6)
  22.  
  23.